package hottargui.domain.standard;
/**
 * @author Allan
 * 
 */

//TODO Check randomfunction against http://javaalmanac.com/egs/java.util/GenRandom.html (PN)

import hottargui.domain.RollDiceStrategy;

public class StandardDiceStrategy implements RollDiceStrategy {
	int diceValue;

	public StandardDiceStrategy(){
		diceValue = -1;
	}

	public int getDieValue() {
		return diceValue;
	}

	public void rollDie() {
		diceValue = (int) (6* Math.random()+1);
	}

}
